package com.aios.util;

import java.util.List;

import com.aios.entity.Switch;
import com.aios.entity.SwitchPanel;
import com.aios.entity.mapper.SwitchTimer;

public class SwitchStatusLogger {
	private List<SwitchTimer> sl;
	public void findCurrentStatus(String panelId){//List<SwitchTimer> sl) {
		/*SwitchPanel switchPanel = switchPanelMapper.findById(panelId);
		for (int i = 0; i < sl.size(); i++) {
			currentSwitchStateList = switchStatus(sl.get(i).getSwitchPanelID());
			for (int j = 0; j < currentSwitchStateList.size(); j++) {
				if (sl.get(i).getControllerReceiver().equals(currentSwitchStateList.get(j).getControllerReceiver())) {

					if (!sl.get(i).getSwitchSetting().equals(currentSwitchStateList.get(j).getSwitchSetting())) {
						Switch sw = new Switch();
						sw.setSwitchPanelId(sl.get(i).getSwitchPanelID());
						sw.setId(sl.get(i).getSwitchID());
						newSwitchConfig.add(sw);
						break;
					}

				}
			}
		}*/

	}

}
